package zsw.Demo4;

public class Tax {
    public static int i = 250;
    public static int g = 180;
    public static int k = 100;

    public static void money() {
        for (int t = 1; t < 19; t++) {
            int j = i * t;
            System.out.println("| 本次是第" + t + "周  所得收入" + j + "元   评分:优秀 |");
        }
        int z = i * 18;
        System.out.println("|税前| 总收入"+z+" |");
        System.out.println("|税后| 总收入"+z*0.9+" |");
    }
    public static void money2(){

        for (int t = 1; t < 19; t++) {
            int j = g * t;
            System.out.println("| 本次是第" + t + "周  所得收入" + j + "元   评分:及格 |");
        }
        int z = g * 18;
        System.out.println("|税前| 总收入"+z+" |");
        System.out.println("|税后| 总收入"+z*0.95+" |");
    }
    public static void money3(){

        for (int t = 1; t < 19; t++) {
            int j = k * t;
            System.out.println("| 本次是第" + t + "周  所得收入" + j + "元   评分:不及格 |");
        }
        int z = k * 18;
        System.out.println("|税前| 总收入"+z+" |");
        System.out.println("|税后| 总收入"+z+" |");
    }

}
